package com.bitsbazaar.manager;

import java.util.List;

import com.bitsbazaar.entity.User;

public interface UserManager {
	
	public Long registerUser(User user);
	
	public Boolean updateUser(User user);
	
	public List<User> getUserList();
	
	public User getUserById(Long id);
	
	public Boolean changePassword(Long Id,String newpassword,String oldpassword);

	public Boolean deleteUserById(Long id);

	public Boolean userAuthenticateById(Long Id, String password);
	
	public Boolean userAuthenticateByEmail(String email, String password);

	public User getUserByEmail(String email);

	Boolean adminAuthenticateByEmail(String email, String password); //is this required? - Ankit Sood
	
	

}
